#pragma once
#include <iostream>
using namespace std;
#include <string>
#include"Worker.h"
#include"employee.h"
#include"manager.h"
#include"boss.h"

#include<fstream>
#define FILENAME "emFile.txt"


class WorkManager
{
public:

	WorkManager();

	void Show_Menu();

	void ExitSystem();

	int EmpNum;

	Worker** EmpArray;

	void Add_EMP();

	void Save();

	bool FileIsEmpty;

	int get_EmpNum();

	void InitEmp();

	void ShowEmp();

	void DelEmp();
	
	int IsExist(int id);

	void ModEmp();

	void FindEmp();

	void SortEmp();

	void CleanFile();

	~WorkManager();

};
